package com.wave.system.domain.bo;

import com.wave.common.core.domain.BaseEntity;
import com.wave.common.core.validate.AddGroup;
import com.wave.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 工装架任务业务对象 sys_tool_shelf_task
 *
 * @author wave
 * @date 2024-10-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysToolShelfTaskBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 工装架编号
     */
    @NotBlank(message = "工装架编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shelfNumber;

    /**
     * 产品编码
     */
    //@NotBlank(message = "产品编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String productNumber;

    /**
     * 目标出口
     */
    //@NotBlank(message = "目标出口不能为空", groups = { AddGroup.class, EditGroup.class })
    private String targetExport;

    /**
     * 任务状态 刚创建/抓取2个产品
     */
    //@NotBlank(message = "任务状态 刚创建/抓取2个产品不能为空", groups = { AddGroup.class, EditGroup.class })
    private String taskStatus;

    /**
     * 包装线
     */
    private Integer packageLine;

    /**
     * 备注
     */
    private String remark;
}
